OIPAAUDITDS Datasource

Configure a container-managed javax.sql.DataSource with the JNDI name OIPAAUDITDS for every deployed OIPA application that produces audit events:

  • PASJava

  • CycleService

  • PASService / Insurance Service

OIPAAUDITDS must point to the same OIPA database and schema as the normal application datasource. It must use a separate connection pool so audit persistence has an independent connection and transaction boundary.

For WebLogic, create and target a JDBC datasource with JNDI name OIPAAUDITDS. For Tomcat or TomEE, define a Resource named OIPAAUDITDS in the application context.

Tomcat/TomEE example

<Resource name="OIPAAUDITDS"

auth="Container"

type="javax.sql.DataSource"

driverClassName="<database-driver>"

url="<OIPA-database-url>"

username="<OIPA-schema-user>"

password="<securely-supplied-password>"

maxTotal="50"

maxIdle="10"

maxWaitMillis="-1"

validationQuery="<validation-query>"

testOnBorrow="true" />

Database Validation Query
Oracle SELECT 1 FROM DUAL
SQL Server SELECT 1
DB2 VALUES 1

Use the customer's approved secret-management mechanism for datasource credentials. Pool sizes may be adjusted according to the deployment workload.